package com.smfx.yxt.view;

import com.smfx.yxt.common.enums.ExchangeCourseType;
import com.smfx.yxt.common.enums.TeacherChangeCourseApply;
import com.smfx.yxt.model.TeacherExchangeCourseApplyItem;

public class TeacherExchangeCourseApplyItemView extends TeacherExchangeCourseApplyItem {

	private static final long serialVersionUID = 7743631677454197953L;
	
	private String headImgUrl;
	
	private Integer applyTeacherId;
	
	private String applyTeacherName;
	
	private String reason;
	
	private String applyStatus;
	
	private String openid;
	
	private Integer approverId;
	
	private String approverName;
	
	public String getHeadImgUrl() {
		return headImgUrl;
	}

	public void setHeadImgUrl(String headImgUrl) {
		this.headImgUrl = headImgUrl;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public Integer getApplyTeacherId() {
		return applyTeacherId;
	}

	public void setApplyTeacherId(Integer applyTeacherId) {
		this.applyTeacherId = applyTeacherId;
	}

	public String getApplyTeacherName() {
		return applyTeacherName;
	}

	public void setApplyTeacherName(String applyTeacherName) {
		this.applyTeacherName = applyTeacherName;
	}

	public String getApplyStatus() {
		return applyStatus;
	}
	
	public void setApplyStatus(String applyStatus) {
		this.applyStatus = applyStatus;
	}

	public String getStatusText() {
		return TeacherChangeCourseApply.getValue(this.getStatus());
	}
	
	public String getApplyStatusText() {
		return TeacherChangeCourseApply.getValue(this.getApplyStatus());
	}
	
	public String getOptionTypeText() {
		return ExchangeCourseType.getDesc(super.getOptionType());
	}
	
	public String getNextStatusText() {
		return TeacherChangeCourseApply.getNextValue(this.getApplyStatus());
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public Integer getApproverId() {
		return approverId;
	}

	public void setApproverId(Integer approverId) {
		this.approverId = approverId;
	}

	public String getApproverName() {
		return approverName;
	}

	public void setApproverName(String approverName) {
		this.approverName = approverName;
	}

	public String getGradeName(){
		return TermView.getGradeName(super.getGrade(),super.getStudyType());
	}
	
}
